* {
    margin: 0px;
    padding: 0px;
}

/*头部样式*/
.header .logo {
    height: 60px;
}

.header .header-content {
    /*设置为容器进行弹性布局*/
    display: flex;
    /*设置主轴X轴水平排列方式 space-between*/
    justify-content: space-between;
    align-items: center;
}

.header .logo-box {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    color: white;
}

/*轮播图样式*/
.content {
    margin: 20px;
    min-height: 800px;
}

.content #banner {
    text-align: center;
}

.content #banner .banner-images div {
    background-color: white;
}

.content #banner img {
    height: 100%;
}

.content .promotion {
    display: flex;
    justify-content: space-between;
}

.content .promotion .layui-menu {
    margin-top: 0px;
}

.content .promotion #menu {
    width: 250px;
    position: relative;
}

.content .promotion #menu .layui-menu-item-parent {
    position: static;
}

.content .promotion .layui-menu-body-title a {
    display: inline-block;
}

.public-praise .layui-badge {
    vertical-align: middle;
    margin-left: 10px;
}

.public-praise .layui-card {
    transition: all 0.3s;
}

.public-praise .layui-card:hover {
    opacity: 0.8;
}

.public-praise .layui-card-header {
    height: 255px;
    text-align: center;
}

.public-praise .layui-card-header img {
    height: 100%;
    border-radius: 10px;
}

.public-praise .layui-card-body h4, .public-praise .layui-card-body p {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.public-praise .layui-card-body h4 {
    font-size: 18px;
    color: #FF5722;
    margin: 10px 0px;
}

.public-praise .layui-card-body p {
    color: gray;
}

/*尾部样式*/
.footer {
    background-color: #393D49;
    color: white;
}

.footer .layui-container {
    padding: 20px 0px;
    text-align: center;
}

.footer .layui-container p {
}

.header .search {
    position: relative;
}

.header .search .search-box {
    display: flex;
    justify-content: left;
}

.header .search .search-box .search-input {
    width: 340px;
    height: 40px;
    border-radius: 10px;
    border: 2px solid #FFB800;
    padding-left: 10px;
    padding-right: 80px;
}

.header .search .search-box .search-btn {
    width: 80px;
    height: 40px;
    background-color: #FFB800;
    color: white;
    border: 0px;
    border-radius: 0px 10px 10px 0px;
    margin-left: -80px;
}

.header .search .search-item {
    position: absolute;
    margin-top: 10px;
    width: 340px;
}

.header .search .search-item li {
    padding: 10px;
    border-bottom: 1px solid #FFB800;
    cursor: pointer;
    background-color: white;
    color: black;
}

.header .search .search-item li a {
    display: block;
}

.search-key {
    color: red;
}